public class Test {
    public static void main(String[] args) {
        Mouse m = new Mouse("鼠标","惠普");
        m.connect();
        m.click();
        m.disconnect();
        System.out.println("对象访问接口常量："+m.EVENT);
        System.out.println("接口名访问接口常量："+ClickEvent.EVENT);
        System.out.println("=================================");
        DeskLamp d = new DeskLamp();
        d.connect();
        d.open();
        d.disconnect();
    }
}
